/**
 *  promise实例对象
 *      1. PromiseState='pending'
 *      2. PromiseResult=undefined;
 */
function Promise(executor){
    this.PromiseState = 'pending';
    this.PromiseResult = undefined;
    executor();
}